<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	xmlns:c="http://java.sun.com/jstl/core"
	template="/layout/contentLayout.xhtml">

	<ui:param name="param_pageTitle"
		value="#{messages.luyuan_crm_menu_order}" />
	<ui:param name="param_navigationUrl" value="/mainNavigation.jsf" />

	<ui:define name="road">
		<span><h:outputLink value="/luyuan/sale/orderListForSale.jsf">我的订单</h:outputLink> &gt;&gt; 新建订单 </span>
	</ui:define>

	<!-- content -->
	<ui:define name="content">
		<rg:areaPanel>
			<rg:wizardPanel id="singleOrderWizard">
				<rg:titlePanel id="shippingInfo" headerTitle="产品总价">
					<rg:fieldSet>
						<rg:outputText id="oldAmount"
							value="#{param_action.order.oldAmount}" label="原价(单位：元)" />
						<rg:inputText id="amount" labelStyle="font-size:14px;color:red;"
							value="#{param_action.order.amount}" label="折后价(单位：元)" />
					</rg:fieldSet>
				</rg:titlePanel>

				<rg:titlePanel id="orderRemarks" headerTitle="订单备注">
					<rg:fieldSet column="singleLine">
						<rg:inputArea label="订单备注"
							value="#{param_action.order.remarks}" id="remarks"
							textStyle="width:512px;height:128px;" />
					</rg:fieldSet>
				</rg:titlePanel>
				
				<rg:tipMessage tipHeader="常用打折原因" 
					tipMessage="促销优惠"
					tipMessage2="总价取整折扣"
					tipMessage3="经理授权折扣"
					/>
			</rg:wizardPanel>
		</rg:areaPanel>
	</ui:define>
</ui:composition>